@import '~tracim_frontend_lib/src/css/Variable.styl'

previewHeight = 400px

.activityList
  display flex
  flex-direction column

  &__refresh
    margin-inline-end 0
    margin-bottom standardSpacing

  &__placeholder
    text-align center

  & .feedItem__preview
    box-sizing content-box
    overflow hidden
    max-height previewHeight

    &__overflowOverlay
      background-image:
        linear-gradient(to top, rgb(255, 255, 255, 1), transparent),
        radial-gradient(ellipse at bottom, rgba(255, 255, 255, 1), transparent)
      background-repeat no-repeat
      background-position bottom
      position absolute
      bottom 40px
      height 25%
      width 100%

  & > .iconbutton
    width fit-content
    width -moz-fit-content
    align-self center
    margin-bottom pageSpacing
